GtkBorder *default_outside_border,
GtkBorder *inner_border,
GtkBorder *padding,
+ GtkBorder *border,
gboolean *interior_focus)
{
GtkStyleContext *context;
if (padding)
gtk_style_context_get_padding (context, state, padding);
+
+ if (border)
+ gtk_style_context_get_border (context, state, border);
}
static void
context = gtk_widget_get_style_context (widget);
- gtk_button_get_props (button, &default_border, NULL, &inner_border, &padding, NULL);
+ gtk_button_get_props (button, &default_border, NULL, &inner_border, &padding, NULL, NULL);
gtk_style_context_get_style (context,
"focus-line-width", &focus_width,
"focus-padding", &focus_pad,
gtk_style_context_save (context);
- gtk_button_get_props (button, &default_border, &default_outside_border, NULL, NULL, &interior_focus);
+ gtk_button_get_props (button, &default_border, &default_outside_border, NULL, NULL, NULL, &interior_focus);
gtk_style_context_get_style (context,
"focus-line-width", &focus_width,
"focus-padding", &focus_pad,
context = gtk_widget_get_style_context (widget);
- gtk_button_get_props (button, &default_border, NULL, &inner_border, &padding, NULL);
+ gtk_button_get_props (button, &default_border, NULL, &inner_border, &padding, NULL, NULL);
gtk_style_context_get_style (context,
"focus-line-width", &focus_width,
"focus-padding", &focus_pad,